class employee
{
 
  int id;
  char name;
  char gender;
  char address;
 double salary;

 public employee()
 {
 
 }


public employee(int id,char name,char gender,char address,double salary) //SET DATA USING CONSTRUCTOR//
{
this.id=id;
this.name=name;
this.gender=gender;
this.address=address;
this.salary=salary;
}



public void setData(int id,char name,char gender,char address,double salary)//SETTING DATA USING this OPERATOR//
{
this.id=id;
this.name=name;
this.gender=gender;
this.address=address;
this.salary=salary;
}


public void print()
{
System.out.println("id  :" + this.id  + "\n name  :" + this.name + "\ngender  :" + this.gender + "\n address  :" + this.address + "\nsalary :");
}


public void printnew(String id,String nam,String a,char g,double sal)
  {

   System.out.println("\nEmployee ID : "+id + " \nEmp Name :  "+ nam + " \nEmp Addr : "+ a + " \nEmp Gender " + g + "\nEmp Sal : " + sal );
 
}

public double hike(double salary)
{
 
return (salary+50);
} 

 


}

